package cc.lj.internal.mobilepay.interfaces.dto.convert;

import cc.lj.internal.mobilepay.interfaces.dto.PayResponseDTO;
import cc.lj.internal.mobilepay.interfaces.dto.QueryResponseDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 中信支付查询 Response DTO之间的转换
 * @author liangxifeng
 * @date 2022-11-20
 */
@Mapper
public interface PayAndQueryConvertDTO {
    PayAndQueryConvertDTO INSTANCE = Mappers.getMapper(PayAndQueryConvertDTO.class);
    //do to po
    PayResponseDTO convert(QueryResponseDTO responseDTO);
}
